﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetalBase.Base;
using System.Threading;

namespace RmProto.Automata.CRA
{
	class CRp : CRAStateBase
	{
		public override void StateAction(ICRAEventPoint eventPoint)
		{
			//DataPoint.Interpretation.Func(DataPoint.Interpretation.Data);
			//eventPoint._z_CR_fin("Finished");

			async(() =>
			{
				Thread.Sleep(3000);
				DataPoint.Interpretation.Func(DataPoint.Interpretation.Data);
				eventPoint._z_CR_fin("Finished");
			});
		}
	}
}
